<?php
namespace app\common\validate;

use think\Validate;

class Form extends Validate {
    protected $rule = [
        'film_class'  => 'require',
        'duration'  => 'require',
        'equipment'  => 'require',
        'performer'  => 'require',
        'team'  => 'require',
        'dubbing'  => 'require',
        'liaison'  => 'require',
        'iphone'  => 'require',
    ];
    protected $message = [
        'film_class.require' => '想拍什么片必须选择',
        'duration.require' => '时长必须选择',
        'equipment.require' => '拍摄设备必须选择',
        'performer.require' => '演员必须选择',
        'team.require' => '导演团队必须选择',
        'dubbing.require' => '配音必须选择',
        'liaison.require' => '联系必须填',
        'iphone.require' => '手机号码必须填',
    ];

}